package com.lemon.smartsafetynew.entity.common;

/**
 * Created by Andrew on 2017/8/16.
 */

public enum DateTypeEnum {

    DAY(0, "Day"),
    MONTH(1, "Month"),
    YEAR(2, "Year");

    private int index;
    private String name;

    DateTypeEnum(int index, String name) {
        this.index = index;
        this.name = name;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
